﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EmailTextBoxNoRequired.ascx.cs" Inherits="PayrollHR.Administration.Modules.EmailTextBoxNoRequired" %>
<asp:TextBox ID="txtValue" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="revValue" runat="server" ControlToValidate="txtValue"
    ValidationExpression=".+@.+\..+" ErrorMessage="Email.WrongEmail"
    Display="None" />
<ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="revValueE" TargetControlID="revValue"
    HighlightCssClass="validatorCalloutHighlight" />